package com.fastloan.mgt.product.question.service;

import com.fastloan.mgt.product.question.model.ProductQuestionOption;
import com.fastloan.mgt.product.question.model.vo.ProductQuestionVO;
import com.kawins.base.BaseService;
import com.fastloan.mgt.product.question.model.ProductQuestion;

import java.util.List;

/**
 * @author admins
 *         createTime 2017/12/27
 */
public interface ProductQuestionService extends BaseService<ProductQuestion> {

    void insertQuestion(ProductQuestion productQuestion, String questionOptionJson, String optionId);

    void updateQuestion(ProductQuestion productQuestion, String questionOptionJson, String optionId);

    List<ProductQuestionVO> queryQuestion();

    ProductQuestionVO queryQuestionById(String questionId);

    ProductQuestionVO queryBeginQuestion();

}
